package com.zuipin.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 中奖记录
 * 
 * @ClassName: WinningRecord
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
@SuppressWarnings("serial")
public class WinningRecord implements Serializable {
	
	private Long				id;					//  
	
	private Short				delFlag;			// 删除标志:1是删除，0是未删除
	
	private Long				createId;			// 创建者
	
	private String				createTime;			// 创建时间
	
	private Long				updateId;			// 更新者
	
	private String				updateTime;			// 更新时间
	
	private Long				memberId;			// 会员ID
	
	private Long				sysId;				// 系统ID
	
	private Long				winningRule;		// 中奖规则ID
	
	private String				proSku;				// 中奖SKU  ,,可能是商品，可能是个 红包 根据 奖品类型来
	
	private String				remark;				// 备注
	
	private Short				isGiving;			// 是否派发：0未派发 1已派发
	
	private String				mobilePhone;		//中奖手机号
	
	private Long				prizeId;			//奖品id 空 是谢谢参与
	
	private String				prompt;				// 提示语
	
	private String				prizeType;			// 奖品类型
	
	private String				unit;				// 单位
	
	private String				promptUrl;			// 提示链接
	
	private BigDecimal			probability;		// 概率
	
	private String				abbreviation;		// 简称
	//vovovovovovoovovovov
	private String				startTime;			//vo
	private String				endTime;			//vo
	
	private Short				isThanksJoin;		//vo  1  谢谢参与  0不是   根据prizeId来判断
	
	public static final short	THANKS_YES		= 1;//谢谢参与
	public static final short	THANKS_NO		= 0;//不查谢谢参与
	
	/*
	 * 0未派发 
	 */
	public static final short	IS_GIVING_NO_0	= 0;
	/*
	 * 1已派发
	 */
	public static final short	IS_GIVING_YES_1	= 1;
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	public Long getMemberId() {
		return this.memberId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setWinningRule(Long winningRule) {
		this.winningRule = winningRule;
	}
	
	public Long getWinningRule() {
		return this.winningRule;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
	public String getProSku() {
		return this.proSku;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRemark() {
		return this.remark;
	}
	
	public void setIsGiving(Short isGiving) {
		this.isGiving = isGiving;
	}
	
	public Short getIsGiving() {
		return this.isGiving;
	}
	
	public String getMobilePhone() {
		return mobilePhone;
	}
	
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	/**
	 * @return the prizeId
	 */
	public Long getPrizeId() {
		return prizeId;
	}
	
	/**
	 * @param prizeId the prizeId to set
	 */
	public void setPrizeId(Long prizeId) {
		this.prizeId = prizeId;
	}
	
	/**
	 * @return the prompt
	 */
	public String getPrompt() {
		return prompt;
	}
	
	/**
	 * @param prompt the prompt to set
	 */
	public void setPrompt(String prompt) {
		this.prompt = prompt;
	}
	
	/**
	 * @return the prizeType
	 */
	public String getPrizeType() {
		return prizeType;
	}
	
	/**
	 * @param prizeType the prizeType to set
	 */
	public void setPrizeType(String prizeType) {
		this.prizeType = prizeType;
	}
	
	/**
	 * @return the unit
	 */
	public String getUnit() {
		return unit;
	}
	
	/**
	 * @param unit the unit to set
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	/**
	 * @return the promptUrl
	 */
	public String getPromptUrl() {
		return promptUrl;
	}
	
	/**
	 * @param promptUrl the promptUrl to set
	 */
	public void setPromptUrl(String promptUrl) {
		this.promptUrl = promptUrl;
	}
	
	/**
	 * @return the probability
	 */
	public BigDecimal getProbability() {
		return probability;
	}
	
	/**
	 * @param probability the probability to set
	 */
	public void setProbability(BigDecimal probability) {
		this.probability = probability;
	}
	
	/**
	 * @return the abbreviation
	 */
	public String getAbbreviation() {
		return abbreviation;
	}
	
	/**
	 * @param abbreviation the abbreviation to set
	 */
	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}
	
	/**
	 * @return the startTime
	 */
	public String getStartTime() {
		return startTime;
	}
	
	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	/**
	 * @return the endTime
	 */
	public String getEndTime() {
		return endTime;
	}
	
	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	/**
	 * @return the isThanksJoin
	 */
	public Short getIsThanksJoin() {
		return isThanksJoin;
	}
	
	/**
	 * @param isThanksJoin the isThanksJoin to set
	 */
	public void setIsThanksJoin(Short isThanksJoin) {
		this.isThanksJoin = isThanksJoin;
	}
	
}
